*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  position: relative;
  font-weight: normal;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  transition: color 0.5s, background-color 0.5s;
  line-height: 1.6;
  // font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
  //   Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  //   sans-serif;
  margin: 0;
  font-family: 'apercu', sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.body_menu_open {
  overflow: hidden !important;
}

[tabindex='-1']:focus:not(:focus-visible) {
  outline: 0 !important;
}

p {
  margin: 0;
}

ol,
ul {
  padding-left: 0;
}

ol,
ul,
dl,
li {
  margin-top: 0;
  list-style: none;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dd {
  margin-bottom: 0.5rem;
  margin-left: 0; // 1
}

a:not([href]) {
  &,
  &:hover {
    color: inherit;
    text-decoration: none;
  }
}

img {
  vertical-align: middle;
}

svg {
  overflow: hidden; // 1
  vertical-align: middle;
}

::-webkit-datetime-edit {
  overflow: visible;
  line-height: 0;
}

[type='search'] {
  outline-offset: -2px; // 1
  -webkit-appearance: textfield; // 2
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::-webkit-file-upload-button {
  font: inherit; // 1
  -webkit-appearance: button; // 2
}

main {
  display: block;
}

[hidden] {
  display: none !important;
}
